using System;
using System.Collections.Generic;
using System.Text;
using SDMX_Common = SDMX_ML.Framework.Common;

namespace SDMX_ML.Framework.Message
{
    /// <summary>
    /// Party Type.
    /// </summary>
    public class PartyType
    {
        private List<SDMX_Common.TextType> _name;
        private List<ContactType> _contact;
        private string _id;

        public PartyType(string id)
        {
            _id = id;
            _name = new List<SDMX_Common.TextType>();
            _contact = new List<ContactType>();
        }

        /// <summary>
        /// Id.
        /// </summary>
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
 
        /// <summary>
        /// Name.
        /// </summary>
        public List<SDMX_Common.TextType> Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// Contact type.
        /// </summary>
        public List<ContactType> Contact
        {
            get { return _contact; }
            set { _contact = value; }
        }
    }
}
